package com.liuyz;

@SuppressWarnings({"all"})
public class Exception_ {

    public static void main(String[] args) {
        System.out.println(m1()); // 20
    }

    static int temp = 0;

    static int m1() {
        // return 0;
        try {
            temp = 10 / 0;
        } catch (Exception e) {
            temp = 20;
            return temp;
        } finally {
            temp = 10;
            System.out.println("finally->temp->" + temp);
        }
        return temp;
    }
}
